#ifndef Character_h
#define Character_h

#include <iostream>

#include "Brain.h"
#include "Dialog.h"
#include "InteractiveObject.h"


class Character : public InteractiveObject {

public:
	Character(lua_State* L);
	~Character();

	virtual void update();

	int load(lua_State* L);

	inline Brain* getBrain() {return m_pbrain;}

protected:
    Brain* m_pbrain;

	std::string m_sfilename;
	lua_State* m_pscript;
	friend class Lunar<Character>;
	static const char className[];
	static Lunar<Character>::RegType methods[];
};

#endif // Character_h
